package org.rcgwt.client.ui.validator;

/**
 * A Checker interface which provides a check method.
 * 
 * @author Elian ORIOU
 * 
 */

public interface IChecker extends IValidatorElement {

	/**
	 * Analyzes the string s with parameters, and return the check state
	 * (successful or not)
	 * 
	 * @param context
	 *            TODO
	 * @param s
	 *            The string to analyze
	 * @param parameters
	 * 
	 * @return true If the string is checked with success or not
	 */
	boolean check(IClientValidatorContext context, String s);
}
